← Back to issue list

rust plugin doesn't check if the Cargo.toml file exists

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1654768
Type
issue
State
open
Author
~elopio
Labels
bitesize plugin
Created
2017-01-07 17:45:10.195546+00:00
Updated
2017-01-08 10:12:34.348695+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Our rust plugin uses cargo to build the snap. Before checking if the Cargo.toml file, it downloads rust, and then it fails with: error: could not find `Cargo.toml` in `/home/ubuntu/workspace/canonical/snapcraft/integration_tests/snaps/rust-subdir/parts/rust-subdir/build` or any parent directory Before downloading anything, the plugin should make sure that the cargo file exists, to fail early if it doesn't.

Evaluation history

No evaluation history available.